#include "T_App.h"

int GAF_Main(int argc, char** argv)
{
	int _nRtn = 0;

	T_App* _pApp = GAF_NEW(T_App);

	if(_pApp->InitApp() == true)
	{
		_nRtn = _pApp->RunApp();
	}

	_pApp->DestroyApp();

	GAF_CApplication::DeleteAllResource();
	GAF_DELETE(_pApp);
	GAF_CApplication::DeleteAllMemory();

	return _nRtn;
}